﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="View.aspx.cs" Inherits="manager_eval_View" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>考评查看</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" runat="Server">
    <section class="content-header">
        <h1>考评查看
            <small>考评查看</small>
        </h1>
        <ol class="breadcrumb">
            <li><a><i class="fa fa-dashboard"></i>主页</a></li>
            <li><a href="userManager.aspx">考评查看</a></li>
            <li class="active">考评查看</li>
        </ol>
    </section>

    <section class="content">

        <div class="box box-primary">
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation" class="active"><a href="#task1" role="tab" data-toggle="tab">我的执行<b style="color: red;">[<%=num_1 %>]</b></a></li>
                <li role="presentation"><a href="#task2" role="tab" data-toggle="tab">我的责任<b style="color: red;">[<%=num_2 %>]</b></a></li>
                <li role="presentation"><a href="#task3" role="tab" data-toggle="tab">我的考核<b style="color: red;">[<%=num_3 %>]</b></a></li>
                <li role="presentation"><a href="#task4" role="tab" data-toggle="tab">特殊考评<b style="color: red;">[<%=num_4 %>]</b></a></li>
            </ul>
            <div class="tab-content">
                <div role="tabpanel" class="tab-pane active" id="task1">
                    <div class="box-header with-border">
                        <h3 class="box-title">我的执行</h3>
                    </div>
                    <div class="box-body">
                        <table id="Listask1" class="table table-bordered table-striped">
                            <thead>
                                <tr>
                                    <th></th>
                                    <th class="col-sm-7">标题</th>
                                    <th class="col-sm-1">责任人</th>
                                    <th class="col-sm-1">执行人</th>
                                    <th class="col-sm-1">被考核</th>
                                    <th class="col-sm-1">状态</th>
                                    <th class="col-sm-1">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <asp:Repeater ID="rpt_Listask_zx" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td><%# Eval("id") %></td>
                                            <td><%# Eval("title") %></td>
                                            <td><%# Eval("RY_zrr_GwMc") %>|<%# Eval("RY_zrr_Mc") %></td>
                                            <td><%# Eval("RY_zxr_GwMc") %>|<%# Eval("RY_zxr_Mc") %></td>
                                            <td><%# Eval("RY_bkhr_GwMc") %>|<%# Eval("RY_bkhr_Mc") %></td>
                                            <td><%# Eval("task_state") %>|<%# Eval("state") %></td>
                                            <td><a style="cursor: pointer;" href="Detail.aspx?taskid=<%# Eval("ID") %>">查看</a></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="task2">
                    <div class="box-header with-border">
                        <h3 class="box-title">我的责任</h3>
                    </div>
                    <div class="box-body">
                        <table id="Listask2" class="table table-bordered table-striped">
                            <thead>
                                <tr>
                                    <th></th>
                                    <th class="col-sm-8">标题</th>
                                    <th class="col-sm-1">责任人</th>
                                    <th class="col-sm-1">执行人</th>
                                    <th class="col-sm-1">被考核</th>
                                    <th class="col-sm-1">状态</th>
                                    <th class="col-sm-1">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <asp:Repeater ID="rpt_Listask_zr" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td><%# Eval("id") %></td>
                                            <td><%# Eval("title") %></td>
                                            <td><%# Eval("RY_zrr_GwMc") %>|<%# Eval("RY_zrr_Mc") %></td>
                                            <td><%# Eval("RY_zxr_GwMc") %>|<%# Eval("RY_zxr_Mc") %></td>
                                            <td><%# Eval("RY_bkhr_GwMc") %>|<%# Eval("RY_bkhr_Mc") %></td>
                                            <td><%# Eval("task_state") %>|<%# Eval("state") %></td>
                                            <td><a style="cursor: pointer;" href="Detail.aspx?taskid=<%# Eval("ID") %>">查看</a></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="task3">
                    <div class="box-header with-border">
                        <h3 class="box-title">我的考核</h3>
                    </div>
                    <div class="box-body">
                        <table id="Listask3" class="table table-bordered table-striped">
                            <thead>
                                <tr>
                                    <th></th>
                                    <th class="col-sm-8">标题</th>
                                    <th class="col-sm-1">责任人</th>
                                    <th class="col-sm-1">执行人</th>
                                    <th class="col-sm-1">被考核</th>
                                    <th class="col-sm-1">状态</th>
                                    <th class="col-sm-1">操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <asp:Repeater ID="rpt_Listask_bkh" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td><%# Eval("id") %></td>
                                            <td><%# Eval("title") %></td>
                                            <td><%# Eval("RY_zrr_GwMc") %>|<%# Eval("RY_zrr_Mc") %></td>
                                            <td><%# Eval("RY_zxr_GwMc") %>|<%# Eval("RY_zxr_Mc") %></td>
                                            <td><%# Eval("RY_bkhr_GwMc") %>|<%# Eval("RY_bkhr_Mc") %></td>
                                            <td><%# Eval("task_state") %>|<%# Eval("state") %></td>
                                            <td><a style="cursor: pointer;" href="Detail.aspx?taskid=<%# Eval("ID") %>">查看</a></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div role="tabpanel" class="tab-pane" id="task4">
                    <div class="box-header with-border">
                        <h3 class="box-title">我的特殊考评</h3>
                    </div>
                    <div class="box-body">
                        <table id="Listask4" class="table table-bordered table-striped">
                            <thead>
                                <tr>
                                    <th></th>
                                    <th class="col-sm-7">标题</th>
                                    <th class="col-sm-1">日期</th>
                                    <th class="col-sm-1">扣分</th>
                                    <th class="col-sm-1">执行者</th>
                                </tr>
                            </thead>
                            <tbody>
                                <asp:Repeater ID="rpt_Listask_ts" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td><%# Eval("id") %></td>
                                            <td><%# Eval("title") %></td>
                                            <td><%# Eval("rq") %></td>
                                            <td><%# Eval("fz") %></td>
                                            <td><%# Eval("userName") %></td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptPlaceHolder" runat="Server">
    <script>
        $(document).ready(function () {
            $("#Listask1").DataTable(
                {
                    "columnDefs": [
                        { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "scroll": true,
                    "language": {
                        "url": "/reference/plugins/datatables/Chinese.json"
                    }
                });
            $("#Listask2").DataTable(
                {
                    "columnDefs": [
                        { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "scroll": true,
                    "language": {
                        "url": "/reference/plugins/datatables/Chinese.json"
                    }
                });
            $("#Listask3").DataTable(
                {
                    "columnDefs": [
                        { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "scroll": true,
                    "language": {
                        "url": "/reference/plugins/datatables/Chinese.json"
                    }
                });
            $("#Listask4").DataTable(
                {
                    "columnDefs": [
                        { "targets": [0], "visible": false }
                    ],
                    "autoWidth": true,
                    "ordering": false,
                    "scroll": true,
                    "language": {
                        "url": "/reference/plugins/datatables/Chinese.json"
                    }
                });
        });


    </script>
</asp:Content>


